package com.vigitae.sim;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class GateWayMac {

    static final String GATEWAYPREFIX="eacdee1000";
    public static List<String> gateWayMacList=new ArrayList<>();
    public static Integer[]SeonsorType=new Integer[]{7,8,9,10,11};
    public  static HashMap<String, HashMap<Integer,String>>gateWaySensors=new HashMap<>();
    public void GenMacPool(){
        for (int i = 0; i <1500 ; i++) {
            String mac=GATEWAYPREFIX+i;
            gateWayMacList.add(mac);
            HashMap<Integer,String>sensors=new HashMap<>();//key=type,value=sensor mac
            sensors.put(7,"sensor_7_"+i);
            sensors.put(8,"sensor_8_"+i);
            sensors.put(9,"sensor_9_"+i);
            sensors.put(10,"sensor_10_"+i);
            sensors.put(11,"sensor_11_"+i);
        }
    }
}
